﻿using UnityEngine;
using System.Collections;
using FrenzyIsland.UI;

public class UIBottomMenuCtrl : MonoBehaviour {

    public GameObject BuildingMenuPrefab;
    
    private GameObject uiroot;
    private GuiManager guimanager;

	void Awake()
    {
        uiroot = GameObject.FindGameObjectWithTag("UI");
        guimanager = uiroot.GetComponent<GuiManager>();
    }
	
	// Update is called once per frame
	void Update () {
	
	}

    public void ShowMenuBuilding_Click()
    {
        //GameObject menu = guimanager.OpenMenu(BuildingMenuPrefab, new AnchorMargin(50,50,150,150) );
    }
}
